(XPutPixel): Handle monochrome images; used for masks.
authorJason Rumney <jasonr@gnu.org>
Sat, 25 Jan 2003 20:45:29 +0000 (20:45 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 25 Jan 2003 20:45:29 +0000 (20:45 +0000)
commit9d7b6fbe4be6b3422df0801b90494f8362568b81
treef1df8d9e725dbd94287af07413dfc72118284ceb
parent6cc2b6f895617bd96b1d1302eeb7f9f7738f8fd6
(XPutPixel): Handle monochrome images; used for masks.
[HAVE_PNG]: Sync with xfns.c version.
(png_load): Adjust colors for Windows. Use Windows
bitmaps. Disable color table lookups.
(DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
(init_png_functions): New function.
(png_read_from_memory, png_load): Call png library functions
through pointers determined at runtime.
(QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
(init_external_image_libraries): New function.
(init_xfns): Call it.
src/w32fns.c